package com.permission.service;

import org.springframework.stereotype.Service;

import com.permission.beans.PageQuery;
import com.permission.beans.PageResult;
import com.permission.entity.SysAcl;
import com.permission.param.AclParam;

@Service
public interface SysAclService {

    /**
     * 增加权限
     * @param param
     */
     void save(AclParam param);

    /**
     * 更新权限
     * @param param
     */
    void update(AclParam param);


    /**
     * 根据权限模块ID获取权限
     * @param aclModuleId
     * @param page
     * @return
     */
    public PageResult<SysAcl> getPageByAclModuleId(int aclModuleId, PageQuery page);
}
